PaymentPlugins\WooCommerce\PPCP\Payments\PaymentGateways A

Total Complexity 51
Dependencies 17
Dependents 14
Total lines 243
Lines of code 155
Logical lines of code 83
Comment lines 42
Methods 21
Properties 5

Methods 21

Method Rating Maintainability Complexity Lines of code
get_available_payment_gateways()
A
54 10 21
load_scripts()
A
54 8 20
add_minicart_scripts()
S
59 8 14
add_scripts()
S
56 4 16
add_admin_script_data()
S
68 3 7
initialize_gateways()
S
71 2 6
get_minicart_payment_gateways()
S
72 2 6
__construct()
S
58 1 14
get_payment_method_registry()
S
82 1 3
get_general_asset_data()
S
63 1 10
add_product_scripts()
S
77 1 4
filter_by_available()
S
70 1 6
add_admin_script_dependencies()
S
79 1 3
set_page_context()
S
81 1 3
get_express_payment_gateways()
S
81 1 3
get_product_payment_gateways()
S
80 1 3
get_cart_payment_gateways()
S
81 1 3
get_gateway()
S
80 1 3
has_gateway()
S
80 1 3
register_payment_methods()
S
76 1 4
get_api_settings()
S
82 1 3